package com.atguigu.gmall.product.mapper;


import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface BaseAttrInfoMapper extends BaseMapper<BaseAttrInfo> {
    //如果 BaseAttrInfo 包含嵌套对象（如 List<baseattrvalue>），需配置关联映射：
    List<BaseAttrInfo> selectByCategoryId(@Param("category1Id") Long category1Id,
                                       @Param("category2Id") Long category2Id,
                                       @Param("category3Id") Long category3Id);
}




